package com.woniu.car.feign;

import com.woniu.car.clientdto.ServiceDetailDto;
import com.woniu.car.common.ResponseEntity;
import com.woniu.car.parameter.DetailQueryParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;


import javax.validation.constraints.DecimalMax;
import java.util.List;

@FeignClient("service")
public interface PlatformClient2Service {
    @GetMapping("/service/order/queryDetailByStatus")
    public ResponseEntity<List<ServiceDetailDto>> queryDetailByStatus(@SpringQueryMap DetailQueryParam detailQueryParam);
}
